The man, whose name was not released, was found in the parking lot of the Sunoco gas station on North Main Street in East Longmeadow just after 8 p.m., East Longmeadow police said. It's unclear how he ended up at the gas station.
Paramedics took the man to a Baystate Medical Center, where East Longmeadow detectives spoke with him about how a bullet ended up in his skull. He told them the shooting happened on the other side of the Springfield-East Longmeadow border earlier that night.
Police do not believe this was a random attack.
East Longmeadow officers passed their information to Springfield police to take over the investigation.
Click here to follow Daily Voice Worcester and receive free news updates.